.cx-custom-attachment {
    position: relative;
    margin-bottom: 10px;
    min-height: 120px;
    padding-bottom: 10px;
    border-radius: 6px;
    background-color: #f0f0f0;
    text-align: center;

    &:has(.pageBtn) {
        min-height: auto;
        background-color: transparent;
    }

    .wrap {
        width: 100%;
        border-radius: 6px;
        padding: 10px;
        border: none;

        img {
            padding: 6px;
            width: 100%;
            border-radius: 6px;
        }
    }


    .controlBox {
        padding-top: 30px;
        text-align: center;
    }

    .box {
        display: flex;
        justify-content: start;
        align-items: center;
        padding: 0 20px;
    }

    .icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;

        svg {
            width: 100%;
            height: 100%;
        }
    }

    .saveBtn {
        display: inline-block;
        margin-left: 10px;
        padding: 10px;
        font-size: 12px;
        color: #fff;
        border-radius: 6px;
        background-color: #2b2b2b;
        cursor: pointer;

        svg {
            width: 18px;
            height: 16px;
            vertical-align: middle;
        }
    }
}

// 回显样式
.cx-custom-attachment-echo {
    min-height: 80px;
    padding-bottom: 0px;
}